I've always thought that raising the elbow does two things: breaks the line of the body as it rotates into the punch, and tips off your opponent. Raising the elbow to throw a straight right looks like 'aiming' the punch- you can see it coming.