It's a good move. I pirated Photoshop as a 10-18 year old, when there was no way I could afford it at all, and I'm now at least partially a professional designer because of it. (Though, I no longer use Photoshop, simply because it's not great for UI development.)
How is this any different from Jetbrains or Autodesk products being free for students?
It isn't, just the execution (explicit examples you mentioned vs looking the other way wrt PS and Adobe).