The unconsented drop of advertising cookies on a web user's browser by publishers/retailers prior to consenting, or despite not having consented, to 3rd party tracking cookies.
"how do these ad tech firms gather so much data on users while most people opt out of tracking nowadays?"
They're just cookie farting all over the your browser, placing cookies without your consent...