A big part of that was because until recently Frontend Engineers were second class citizens at Amazon. It became easier and easier to work for a year here then move to Facebook/Google and a variety of unicorns and get a huge pay raise.
Whether or not that's enough remains to be seen.