Just guessing but maybe because they are not forcing kids into a religion but rather giving them the option to learn from it much like the bill that allows them to pray but does not require them to. I would guess that if a teacher required them to recite the commandments that would be crossing the line and will likely result in lawsuits should that come to pass. They could probably also put a copy of the Christian Bible, Quran and Torah on display in class or in the library.