You are totally confused. High schools do NOT use credit hours. Yes, public high schools can refuse to enroll you because you do not live in that school district. Yes, if you are not currently enrolled they can refuse to enroll you, especially in the middle of a term.
If you do not live within the boundaries of the public school they can refuse to allow you to attend
Sounds like they can. You need to beg and plead for more help.