How exactly does lack of sleep impact gym progress?

Looking for some advice here. I’ve read that lack of sleep really puts a strain on your progress at the gym. Other than being more “tired” and not having enough energy, what other physiological impacts does lack of sleep cause? I am really trying to maximize my progress this year and my sleep schedule has been a bit wonky, plus taking pre-workouts during a late night lift session makes it a bit harder to fall asleep.