It will pass.. but could be stubborn. I did something weird with both THR recoveries where I unintentionally hurt the soft tissue surrounding the new hip. Soft tissues can really complain. That's the only reason I asked if the stretch was forced. It may add a few days to your recovery than if it wasn't forced.
With my first THR, I slipped on some water on the bathroom floor.. boy, did that hurt. and hurt for a good 2 weeks or more. Second THR I was trying to raise my hips over rumpled blankets in bed, so did a form of a bridge, I suppose.. again, it set me back and had to use my cane for at least a couple more weeks. But all healed and recovered..