Stepped out of the car to show the officer his cool new rifle?
It doesn't look like a "suicide by cop" scenario, but with an empty rifle it also doesn't seem like a planned ambush, unless he was going to use it as a club. I suspect he wasn't firing on all cylinders.