Relieve pain, prevent injury, and increase performance. Get customized mobility coaching developed by Dr. Kelly Starrett.
Did you warm up enough?
Did you spend time on anything specific to these ranges/joints?
When you have an issue with something you may need to add some specific items to your warm up to address it so you are warmed up and ready to go.
Depending on the weight and the number of reps you may have done too much all at once.
Even if it was weights you have done in the past it doesn’t sound it is something you have been doing as of late.
You need to build back into it. You may not be able buffer the same number of reps/weight as you could do in the past. So it comes down to quality over quantity of your reps.
If you were injured you may not be buffer the same training volume yet or at all.
Has anyone looked at your technique/mechanics?