Whenever I apply for either savings accounts, debit cards, or credit cards, this seems like a staple question for all banks.

Why are they asking if you have accounts in other banks? How do they gain from that?