When the core muscles goes for shortening due to reduced flexibility i.e., when the muscle is tight it compresses ur nerve and causes pain and numbness sometimes in case of positional issue
To rule out other conditions need further assessment
Next Steps
Start with hamstring, piriformis and calf stretches
This will relieve your issues for sure
Health Tips
Consult a physiotherapist for further evaluation and treatment