I got rejected from my STATE school_ What am I doing wrong?

@ClarinetDad16 my school is very competitive. A lot of kids go to very selective universities. The thing that shocked me is that some kids that were ranked around 200 in my class got in and I didn’t.