I don't have much idea on this in SA but may be due to improper design of the intersection / crossing. Maybe the visibility of the intersection from either sides may be the issue as you may not be able to see vehicles or trains approaching, leading to collision.