Well, without a detailed clinical evaluation it would be difficult to determine the cause of your symptoms. Possibilities that may need to be considered include overexertion, muscle fatigue, injuries to muscles/ ligaments/ tendons, neuro-muscular causes such as neuropathies, myopathies, infections, inflammations, degeneration, micronutrient deficiencies, referred pain from other regions etc. Cortical thickening could occur with a few inflammatory causes may not be anything to worry about. I would suggest rest for a few days along with anti-inflammatory medications followed by physiotherapy. If the conservative management does not seem to help, you may consider a review with an orthopedician to evaluate for other possibilities and suggestion of an appropriate management plan.
Hope this is helpful.