I was under the impression it was because Java wouldn’t work on mobile devices. Is that not the case?
When I was 15 I ported Minecraft Java beta 1.2 to android.
Probably just iOS since Apple bans JIT compilers other than their own.
IIRC The Android version came out pre-MS acquisition
It started with that, yes, with Pocket Edition, but then that codebase got used for the console editions. I guess the temptation to monetise was too strong, and monetising Java was probably a lot harder and would spark a lot more outrage.