It does sound like you need to stretch and foam roll more, but some of what you're describing, particularly the muscle pain at high efforts, is concerning.
Do you use statins for cholesterol, or have a family history of arthritis or immune issues?
If it persists, you might want to consult a doctor. There are more serious explanations for that kind of pain.