The most likely problem in this situation is:
All traffic should be going in the same direction, and either you or the other driver is going the wrong way.
In a two-lane street with a broken white line, the lanes are designated for traffic moving in the same direction. If a car is approaching you head-on, it indicates that one of the vehicles is traveling in the opposite direction it should be.