If one or both A and B is sync op, then they may be serialized - I said "may" because not all forms of sync op wait on both sides.
If both are action ops, then they're out-of-order - they're only in-order with respect to the sync ops that happen before or after them. That's why action ops are mentioned alongside sync ops.