My guess echoeing what others have said would be seat height. I know at one point I was having knee pain and once I got my seat adjusted to the proper height for me, my knees weren't getting the strain they were getting previously.
Now if I have knee pain, I know I've pushed it too much in the cold weather. I had to readjust the seat height on my stationary as well. Made all the difference in the world.