3 words. Because it does.
The typing does change when when the form is changed. When it changes into a fridge, it's ice type. When it is a Fan, then its flying type. The typing doesn't stay the same. Try to not get muddled up. However, the second type does stay the same, electric, I think that is what you might be getting confused about.