Peace be upon you. Generally, we take precautions regarding modesty when it comes to speaking with non-mahram individuals, which leads to either avoiding initiating greetings or not responding to them for fear of falling into what is forbidden. This precaution arises from the principle that caution is good in all situations. The question is whether our behavior is correct or if it is considered strictness in religion.