Because they are bathrooms with much more traffic than domestic bathrooms, it avoids the user having to touch a switch or handle and minimises the spread of viruses or bacteria.