@godwrestler Like everyone said, every gym is different. You might be in a place similar to my old gym where competitive athletes didn't really intermingle with the class. It's definitely possible to break through, but the likely reason they are stand offish is probably because they're stressed about the workload they need to get through before leaving the gym.
As for the cocky kid, if he is the coach, I would listen to him. If he's not the coach, I would refer to your coach for scaling movements.
Lastly, I've been a victim of this myself, but sometimes you manufacture the mood people are in because of factors in your life like sleep, nutrition, and other stressors. These people might not be malicious or cocky, and it could just be the way your day is.
Either way, if you're not being treated well day after day and you feel like people are being condescending to you, I would 100% consider finding a different box. No reason staying somewhere that is toxic to your mentality.