Hips rocking is the seat too high.
Knee problems can be a variety of things but bike manufacturers really don't like to talk about the fact that people need different crank lengths as well as a different seat height. You can make plenty of power with a crank that is too long, but no more power than you can if the crank is the right length. However, you can make more torque with a longer crank and that torque bears directly on the knee. So if you want your knees to last, shorter cranks are how its done.
When Lael first set the women's record on the Tour Divide, she rode to the start line in Banff from her home an Anchorage. This year she took first place again:
https://bikepacking.com/news/lael-wilcox-2023-tour-divide-winner/
The Women's Single Speed first place and a new record for that on the Tour Divide was set by Alexandera Houchin:
https://bikepacking.com/news/alexandera-houchin-2023-tour-divide-singlespeed-record/