hazard
The preposition “for”, is used when something is being done to benefit something or someone else or when you are trying to express purpose or the reason that something is happening.
Look at these two example sentences:
a fire hazard
COLLOCATIONS
health hazard
a safety hazard
Example sentence:
PHRASES
a traffic hazard
a natural hazard (=a hazard caused by nature)
As a verb, hazard means to take a risk, especially for the chance of a good return. For example:
cause/create a hazard
pose a hazard (=be a possible hazard)
Here are example sentences:
The preposition 'to ' is used when it is followed by a thing. For example:
eliminate a hazard (=get rid of a hazard)
In the case of the second sentence, holes in the pavement can be a hazard for anyone but it is especially a hazard for blind people because they cannot see to avoid these holes. The preposition "for "is used to express the reason why the holes in the pavement are a hazard.
For example:
reduce a hazard