Inactive Tutor answered 06/30/20
This is technically called shock modulation, and its more frequent usage in the second half of the 20th century (and in pop music in general), could be attributed to the desire to increase excitement and change keys, but the lack of music theory knowledge needed to modulate in the same sort of style as common practice composers.