It's a very good question so I got double answer.
First
Religion should be tought optionally because someone can be follower of different God.
Second
The religion is one of the most important parts of our life so everyone should know it's general assumptions to understand truths that are ruling whole world.