Prolonged sitting has lead to stiffness and weakness of the muscles of your hip, specifically the lateral hip. Something similar to a cramp. The more you sit, the more is the issue. Also the challenges of sit to stand, standing and walking on those weak muscles make them feel overworked increasing the problem
Next Steps
ergonomic way of working, sitting less at a time, frequent breaks, stretching exercises. can use a walker for few days.