People always say that math students don't learn about applications of math.
This was never the case for me. When I learned trig ratios, I always understood some basic things that trig ratios could be used for. The teacher always introduced some applications, we always had a lot of word problems, and I could fill in the gaps myself.
Same for calculus. When I learned calculus, I always understood some things that calculus could be used for.
So I understood how those things could be applied to general, everyday sorts of problems. What was missing, though, was that I had nothing to which I could apply those techniques, besides homework.
Learning math (and reading STEM papers) has become easier for me since I now have actual problems to solve. Don't get me wrong: I'm not solving particularly challenging problems or using particularly advanced math. Nothing that tens of thousands of people haven't done before me. But I do need to understand the problems, solutions, and some of the context in order to successfully implement them. This provides a motivation that was always missing before.
I suspect this general narrative is true for a lot of people: that having an actual problem to solve is almost necessary to get a student to really learn the material, instead of just coasting along for a grade.