The washers that seal pipe joints won't hold water unless one section runs straight into the other. The “ground” joint on the trap has no washer, but it too will leak if it's misaligned.