They are legally required to know your identity and, I believe, report interest to the IRS. If they don’t check your government ID, they’ll be popular with organized crime.
Now, I’m sure banks also love that for data mining purposes but it’s not entirely without a valid reason.