Let’s say you hire a gay employee, there very existence is political. Are they wrong for mentioning that they are gay (no), but to some at the company that may be trying to advance their gay political agenda.
Idk what the solution is, but just blanket “No religion/no politics” is just a way to say you like everything the way it is and don’t want to feel uncomfortable