Many countries around the globe (and specifically the EU) are being forced to adhere to Financial Action Task Force (FATF, established in 1989 by the G7) guidelines, which includes regulatory requirements designed to prevent money laundering and terrorist financing.
One of these rules is the “Travel Rule”. The Travel Rule mandates that certain information about the sender and receiver of a transaction must "travel" with the transaction itself when money (or value) is transferred between financial institutions or Virtual Asset Service Providers (VASPs).
This wallet generation feature is a method of complying with that Travel Rule. For transactions over a certain threshold (typically $1,000 or €1,000), a wallet address is typically required.