Food is really an expression of love and baking can be a helpful way to communicate feelings. Sometimes there are no words, and only food can communicate what you are trying to say.
Baking requires a lot of full attention and does not leave time for rumination. The nice thing about baking is that you have such a tangible reward at the end and that can feel very beneficial to others.
Baking for others can increase a feeling of wellbeing, contribute to stress relief and make you feel like you have done something good for the world, which perhaps increases your meaning in life and connection with other people.