With real gates, some timing issues can occur.
This is why having a clock is desirable.

04.4 Tri-state drivers