FBW A320 what happened

Hard to say without seeing a picture of your nav map and FMS legs when it happened. However if I had to guess I would say that when you inserted the direct, the angle was too sharp/distance too close to ARCHI, in which case the FMS will skip past ARCHI and make a single arc to the next waypoint, DUMBA.