The mechanism for a kick flip and a heel flip are different, it’s not about the spin of the board in relation to the earth, it’s the spin of the board in relation to the skater.
A kick flip uses the front toe to rotate the board towards the skater. A heel flip uses the front heel to rotate the board away from the skater (you’re basically pushing it away from you by sliding your heel up and out off the edge of the board).