Santa Clara resident Orion Moore, 29, and a female companion stopped at the Pilot Truck Stop, located at 951 Work St., on Friday to buy gas.
When Moore exited the car, a transient, who was about 60 years old, said he wanted to wash Moore's windshield for money. Moore declined the offer, according to police.
The transient loitered around the car and a while later began washing the window. The female passenger exited the car to tell the transient to leave.
Moore allegedly ran out of the Pilot and knocked the transient to the ground. The man struck his head on the pavement and was transported to a nearby hospital, where he died, according to police.
Officers arrested Moore at the gas station.