Regular glass bottles may crack at freezer temperatures. As the liquid inside them expands, it may put sufficient pressure on the walls of the glass bottle for them to break.
Jars suitable for canning and freezing consist of tempered glass and will withstand the freezing process better. A person can allow extra space in the container for the milk to expand and thaw it completely before removing it from the jar or bottle.