If you hit the gym too close to bedtime, that's not super surprising. It also may take time for your body to adapt to the workouts. I hope this isn't stopping you from strength training at all — from what I've read, it's almost a non-negotiable dimension of health and wellbeing.