Is this cryonism/nepotism at work?

I applied at work in grocery store and in job posted online they were hiring college graduates as encoder in office and cashiers as highschool graduate. I am college graduate and they offered me a job as a cashier. I found out my friend's ex coworker who is only high school graduate got the office job because she has connections to the owner her husbands cousins brother is friends with owner. Her husbands cousins reffered her to owner (the owner is friends with her husbands cousins) I just felt stupid because one time the supervisor was reviewing my qualifications he told me he will give me a cashier as a job because its only my first time as a cashier. But why would they post online that they were hiring a college graduate in office and only to hire highschool graduate? is that nepotism/cryonism? Giving better positions to people you are connected to even though they are less qualified for a job?
Is this cryonism/nepotism at work?
Post Opinion