Simply because we express gratitude to someone a thing to occur, 'thanks to someone/ a little something' is a way to say they induced it to occur. We could use it even though we are not grateful: "I didn't reach rest until eventually 3:00 very last evening, thanks to https://glennm801wrk6.blogpixi.com/profile