Red and warm knee cap. What from?

Infection per patell. The first thing to clarify is this an infection in the per patellar bursa on the top of the kneecap. That needs to carefully evaluated immediately after than then we consider other causes of inflammation. This could be crystals like gout or pseudogout and then other things.