It's for texture. The coffee needs to be hot because it helps to bloom the cocoa powder flavor and helps us get a smoother texture in the batter as well as helps to dissolve the sugar better so that the batter gives us a perfectly textured cake.