Knee pain that occurs when you bend or straighten your leg could indicate a possible injury, arthritis, or tendinitis. See a medical professional for help.