They do that because they know human nature (well, post-popup windows from the '90s) is to move your mouse down to close the popup and then close the tab, as if it makes any difference. That buys them another 2-4 seconds of time-spent-on-page analytics metrics. It took me a bit to untrain myself from that behavior. I'd quite like a browser extension that stops reporting when my mouse moves out of the tab.