No tienen por qué cantar.

English Translation

You don’t have to sing.

Why is “Por” in this sentence?

The Spanish actually means something like “You have no reason to sing.”

You could leave out por, but you would then have to change the qué to plain que, and the meaning would be exactly as in English.