This tension is fundamental.
You have two parties who feel entitled to the road, while few parameters exist around how they share the road. Naturally anything a cyclist does that interferes with the driver ends up irritating him/her and vice versa.
Protected bike lanes go a long way to solving this problem. We need rules around how we interoperate.