These are academic accounts on Google that are granted to students only whilst they are students of the institution. The account is ephemeral and you will lose all data within the account.
Nothing is implying the students used these for personal purposes either, these could be photos of blackboards / whiteboards, photos of handouts, photos of the class, etc. Though it is likely that all photos taken are in the academic account as I doubt anyone is switching the Google Photos account and managing what's on the phone.