Dumb criminals think cops are dumb (I guess that makes sense). So they try weird things to look casual, like sitting in abandoned cars. But police have computers to run plates, and those computers give them phone numbers of people who own the plates. So the cop called the vehicle owner, confirmed it'd been sitting there a few days, and proceeded to knock on the glass!