One of them certainly is! Road Rule 208 statesPretty good chance that one of those cars is parked illegally...
The driver must position the vehicle to face—
(a) in the direction of travel of vehicles in the marked lane or line of traffic on, or next to, the part of the road where the driver parks;
If they’re both facing different directions then one of them is doing the wrong thing