Thanks for query on the HCM.
It is due to soft tissue
Swelling might be due to collection of blood inside.
It is better to go for x-ray knee (AP/LATERAL) to confirm the extant of injury.
Local application of nsaid gel will be helpful.
Apply knee cap during movement.
Avoid any extra weight bearing,sports activity till get complete cure.