There are truancy laws. Private schools can have speech rules, but parents are free to choose such schools, and so free speech rights are not an issue.
This bill would also apply to private schools receiving money under the Elementary and Secondary Education Act.
Nobody is forced to attend private schools.
It's a fundamental difference.