I have a Nexus 5x (Android phone). It uses a USB-C charging cord. When I plug my USB-charging cord into my phone and into a PC I own, the PC charges the phone (as expected). When I instead insert the USB-C cord into my phone and the other end into my MacBook Pro, the phone charges the MacBook.
This is backwards to me. How do I charge my phone from my MacBook?