There are lots of things going on at the hip joint. Lots.
It's difficult to diagnose from here.
See a sports medicine specialist, a physiatrist, or a good PT.