See this page. You will learn about all ESP pins. Whether to support ADC / DAC
https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/adc.html
It's likely to do with the fact that m5stack devices have switched accelerometer chip a few times, therefore having the multiple functions allows for compatibility with previous hardware revisions of m5stack