uBlock Origin does not protect you from this, this is a fingerprinting problem. You need to use a fingerprinting resistant browser. And even then, there are new fingerprinting methods emerging frequently and you can't prevent fingerprinting from inside apps on android/iOs..
Most slop mobile applications, that many people have on their phones are basically spyware pretending to be games/whatever.
Programatic advertising technology was created for intelligence purposes, these companies and their methods are very sophisticated.