No way to say for sure of course, but it sounds like something like:

http://www.webmd.com/a-to-z-guides/snapping-hip-syndrome-causes-symptoms-treatments

But yeah...iliopsoas tendonitis or something similar..if it doesn't go away, as always, seek the advice of a professional.