Common grace at work.
And in his book The reason for God, Tim Keller points out
'This means that no matter who performs it, every act of goodness, wisdom, justice and beauty is empowered by God. God gives out good gifts of wisdom, talent, beauty and skill 'graciously'- that is, in a completely in a completely unmerited way. He casts them across all humanity, regardless of religious conviction, race, gender or any other attibute to enrich, brighten, and preserve the world.'