Simple. Most PCs that I have played with think it is the DMs job to create encounters designed for them to overcome. Thus if they see a large red dragon they assume they can defeat it and attack.
In my opinion the DM should make a realistic encounter area and the let the players deal with it...