Why did they make a windows 10 version of minecraft?

I already know it's programmed in ++C and such but I want to know a simple logical reason.

Microsoft bought Minecraft. So quite naturally they want a windows edition of their new purchase.

To create a Universal App for all Windows 10 devices (including mobile). It's basically the Pocket Edition from iOS and Android, but designed as a universal app for Windows 10.