The hot coffee does two things: it brings out the flavor of the chocolate, but the hot liquid 'blooms' the cocoa powder, which essentially intensifies the flavor.