Since Windows 10 version 20H1 and continuing into Windows 11, Microsoft introduced changes as part of the "Modern Standby" initiative. This allows USB ports to remain powered in certain low-power states to support charging external devices, such as phones, even when the system is not fully active.
Microsoft reference: