Math education has the same issue.
3B1B videos draw you in with a cool visualization that makes you ask the 'why' of 'why did this happen' first. This maps onto the techniques used by the best professors I've learned from. Hell, it is exactly how competent sales-men sell their product.
Start with a cool demo -> confuse the audience -> make them ask why -> this motivates them to want to learn the what -> all the tools learned in the 'what' comes together to teach you the 'how' -> you just made the cool demo happen -> MAGIC.
My favorite subjects were ones where the 'why' was obvious to me as I learned the 'what'. I distinctly remember disliking inorganic chemistry, because none of the facts seemed to go anywhere. You learned the facts for the facts. Nothing came together to reveal a grander intuition. I disliked history for the longest time, because I viewed it as some form of culture acquisition and status signaling. Once I started reading real history from an 'early warning system' perspective, I couldn't stop searching for repeating patterns and universal casual links within it.
With AI tools gaining prominence, it will actually be possible to build these fully contained dopamine cycles. "Dangle carrot -> difficult task -> reward", all within a single self-contained assignment. But even besides that, too many teachers simply do not have an intuition for how that dopaminergic cycle works.