The Windshield of your vehicle is a really important part of a persons safety. The windshield is meant to keep a person inside of a vehicle during collision while also allowing the drive full visibility of the road.
The Door glass of vehicles are a special type of glass called "tempered glass" this is meant to break into little harmless pieces of glass instead of big shards of glass which could severely hurt a person.