Microsoft built this so they can have a MongoDB compatible database service for Azure.
A few years back MongoDB changed their license to AGPL to make it harder for companies to take their code and offer it as a service. They did this because it competes with the MongoDB Atlas service.