The guy is a child abuser, he probably had no plans of breaking and entering that home when he was pulled over. But after he shot the cop, he knew the manhunt was on and likely decided to flee and find a random place to hide and, luckily for society, chose poorly.