Freezing point is defined as a temperature at which a liquid changes to solid.
This implies that change of matter takes place from one state to another.
In liquid, the molecules are loosely bound with each other, so to change it into solid the force of attraction between molecules increases.
The factors which affect the freezing point are the types of molecules; if they have strong intermolecular force then surely the freezing point will be much higher.
Therefore, the freezing point is defined under standard temperature and pressure conditions.