Fun fact about Minecraft: It's written in Java which is a programming language makes porting to other platforms really easy. The way it works is that it turns the instructions into bytecode that Java Virtual Machine runs, essentially allowing any device with JVM to run it.
I consider Bedrock as the Microsoftified edition of Minecraft. Microtransactions everywhere, halting modding whenever possible, support on all platforms except Linux, no access to previous versions.