Plugged my M1 iPad Air into my M1 MacBook Pro to charge. Apparently you have to pick the correct USB-C port. Since the MacBook can still charge through USB-C, even with MagSafe, the port that I used was trying to charge the MacBook from the iPad. I tried a different port on the MacBook and then it started charging the iPad.