It could be related to sciatica or it could be piriformis syndrome. Sciatica nerve roots come out of the spinal column low in the back and then pass behind the hip joint. Piriformis syndrome: The piriformis muscle typically runs on top of the sciatic nerve in the buttocks and can compress the sciatic nerve if the muscle becomes too tight. The symptoms may get worse after sitting for a long time, walking upstairs, walking, or running. https://www.nhs.uk/conditions/sciatica/