When pedestrians hit the bonnet or windscreen of a car, the impact is relatively soft.
The A-pillar or the engine (under the bonnet if there is not enough space between the two) are much more dangerous. Some cars have an active bonnet that can spring up to make room and give a softer landing.