A hip flexor muscle strain occurs with overuse or improper use of your hip flexor muscle. It can also be caused by not properly warming up the muscle before physical activity. As a result, the hip flexor muscles and tendons become sore and painful, often with inflammation.