I know, from years or riding a motorcycle, that car drivers (many of them) don't have eyes that are trained to look for a motorcycle so, even though it might be daylight, or the motorcycle has a headlight at night, they just pull out or turn in front of it. I've had that happen to me when someone used his blinker to pass me on the left, on a city street, and then moved back into the lane, striking my front fender. He couldn't have been more apologetic and paid me more than it cost to replace the fender. He had seen me when I was in front of him but then forgot about me. That seems strange but I have had times when, as the driver of a car, it was only at the last moment that I noticed a motorcycle approaching an intersection. That's a larger motorcycle that makes noise and has headlights. When you consider electric bikes that are silent, sometimes have no headlights, and riders who ignore traffic laws like kids on bicycles are prone to to, I'm surprised there aren't more accidents.
Perhaps laws for e-bikes need to become more standardized, particularly for the ones that are wholly electric, treating them more like motorcycles than bicycles. I'm not suggesting requiring a license and license plates, because these are simply taxation devices, but applying traffic laws to them. In Maine, bicyclists can choose to ride in a traffic lane (in the right lane unless they are turning left at an intersection), or they can ride the sidewalks or hiking/bicycling trails, and I believe e-bikes are treated like bicycles, not motorcycles. Even on a bicycle, riders are supposed to have a fixed headlight when riding at night, and a rear reflector. Oddly, if they opt for a taillight, they still have to have a visible reflector. However, the police rarely enforce the traffic laws that do apply to bicycles, perhaps because, here, it' mostly kids who ride bicycles. Both kids and adults have e-bikes though, but they are treated, by the police and riders, as bicycles.
Adding to the annoyances, Millinocket is a snowmobile-friendly town, so snowmobiles are allowed on several of our streets. In the winter, the sidewalks of some of our streets are turned into snowmobile trails - intentionally not plowed or shoveled (in fact, in late winter, they will dump snow onto these sidewalks in order to prolong the snowmobile season), and used primarily for snowmobiles. At least, you can see and hear a snowmobile coming, however.