Does changing a PIN decrypt and encrypt everything again?
A phone is encrypted with a randomly generated dedicated key, then the key is encrypted with PIN and stored somewhere else.

When you replace the PIN, it's the key that gets decrypted and encrypted again. When you remove the PIN, the key is decrypted.

It's a bad practice to encrypt the device with an easily-changeable PIN because encryption takes time, and comsumes power.