What do you do when you and your SO have different schedules?

My husband and I have run into a bit of an impasse with our schedules -- a little bit of backstory. He used to work 7am - 4pm, which meant that he would wake up at 4:50/5am every day. I go to the gym 3 days a week, but I don't need to wake up until 6:30am or so. So when he was waking up at 5 I would wake up and then fall back asleep for like 45 minutes after he left, and wake up a second time feeling like hell.

A few weeks ago his schedule changed and he now works 2 - 10pm, so now when my alarm goes off at 6:30 he's the one waking up super early. I try to be very quiet/he wears a sleep mask so he can fall back asleep after I leave, but there are inevitably some days where he can't fall back asleep and is annoyed that he was woken up at 6:30am/is exhausted. Which I get, but I truly hate going to the gym after work! And I need to wake up at 6:30 so I can do everything I need to do before I go to work. (from home)

I know marriage is compromise but...WHO'S RIGHT IN THIS SITUATION??