Mine does this too, it has ever since I was a kid. I went to a ortho a few years ago about it and he suggested it was an issue with my medial patellofemoral ligament and if so would require surgery to repair. I just adapted my grappling around it and play mostly half guard when on bottom because it doesn’t bother it.