University rankings have pretty much nothing to do with how well they teach students, only their research output. And good researchers aren’t automatically good teachers ( and vice versa).