What if there’s something illegal, violating copyright, etc. on the site? Or to take a less legal example, what if someone’s site is hacked? You need some way of getting in touch with the owners.
Atleast in my area websites are also required to carry legal contact information somewhere on the site, which is far easier to secure against spammers than the WHOIS database.