One problem with a motorcyclist riding directly next to another vehicle is that:

Riding alongside another vehicle is dangerous because the vehicle could veer into your lane and sideswipe you. Additionally, the vehicle could block your escape route if a hazard arises.
DMV Writen Test Logo