All external displays are powered by the dedicated GPU on the intel MacBook pros. This allowed MacBook pros to output 40k60 through any of the 4 USB-C ports (unlike windows PC’s of the time). The downside was it meant the dedicated GPU was consuming an extra ~20watts whenever you were connected to an external monitor.