HSTS is not that important in itself, but it represents the general transition to "all https". Before that, https existed, but it was only used in select cases, like for entering your credit card number, early browsers even had a warning when https was enabled. Nowadays, https is the expected default, browsers are starting the throw a fit when they see plain http, and many tech-savvy users will go "Seriously, http? We are in the 21th century you know". More generally, the need for encryption-by-default also represents how the web is tied to the real world now. People use it to deal with real money, sign contracts, and exchange secrets that have real life consequences if they fall into the wrong hands.
The author picked a bit of code to represent that, and he chose the HSTS header. Debatable, but I think it is a good choice.