How did it change from effusive to explosive?

Explosive eruptions are driven by volcanic gases contained in magma. During the effusive phase this gas was released slowly from the magma as it came to the surface. Eventually the pressure created by more rapidly degassing magma was too much to be contained by the material above the vent. The result is an explosive volcanic eruption. Compare it to ‘popping’ a bottle of champagne!