Are Large Language Models Sensitive to the Motives Behind Communication?