Why is MAMP installed in C:\MAMP?

This is due to UAC (User Account Control). This causes problems when dealing with the program directory. In principle, MAMP can also be installed in the program directory, but then some functions of MAMP are not executed correctly.