For what it's worth, my father is a civil engineering professor and has been complaining that students have been getting dumber for 30ish years at this point. That predates smartphones and laptops weren't a common occurrence in lecture halls yet.
The gradient of the graphs in the article is pretty worrying though and I'm sure that phones/social media definitely have some effect.