Do you recall any impact / stress that would have caused the pain or has it gradually developed over time?
Either way i would go see a doc & specialist. Better to know what the prob is for sure so you can get it fixed or worst case, change your sports to suit (drastic i know!)
In the meantime consider a daily stretching routine…
I survived the hip jigging below but still have occasional pain & accept it will never be perfect!
• Anterior to anterosuperior peripheral labral tear at chondrolabral junction – Partial acetabular labrectomy
• Chondroplasty
• Sealing of chondrolabral junction
• Excision of impingement lesion