Object seems rotated altough it isn't?
That could be due to the object's origin is far off (when you move/edit the size in edit mode and not in object mode, the origin stays in the same place and can cause some artifacts like this), you can always take the vertices that don't align, press G to grab them, then Z to pull them only on the Z axis, now you can snap them on the vertices on the other side: