A frog war occurs when one private railway company attempts to cross the tracks of another, and this results in hostilities between the two railways. It is named after the frog, the piece of track that allows the two tracks to join or cross and is usually part of a level junction or railroad switch.