Have you ever sat in the back row of a lecture hall and watched what the students are doing on their laptops?
Laptops are generally disruptive to the entire class, and (anecdotally, but I’ve done a lot of higher learning) almost all of their use is not for note taking or anything related to the class.
So why not ban them? Many professors do.
Because some students are using them to take notes, and banning electronics harms the learning of those students.