Sounds like your hip is in the front of the socket and you are hitting bone on bone.
Pain is a lagging indicator. By the time pain shows up damage is done.
Sounds like there is restriction in your squat from your description.
Your body can buffer anything for a time and it sounds like you may have hit the point where your body isn’t able to buffer it any longer.