Understanding yourself is the first true step of happiness. As you get older your level of understanding of not only the world, but of yourself is more apparent.

A change of your living situation is a strong indicator, otherwise I would attribute it to more of mindset shift. Your viewpoint alone has the power to make a difference in your emotions.

Could be that you started working out more, which does include working out your brain. Both need to be worked on!