My guess would be either he used school wifi and it notified administration that a device on the network pinged chatGPT or there's some kind of logger in some remote learning software he has to install and agree to the terms of.