An iron rod becomes magnetic when it is subjected to an external magnetic field or when it is placed in close proximity to a magnet. This process is known as magnetization. When an iron rod is exposed to a magnetic field, the individual magnetic domains within the iron align themselves in the same direction as the external field. As a result, the iron rod develops a net magnetic field and becomes magnetized.
However, it's important to note that not all iron rods are equally susceptible to magnetization. The ability of a material to become magnetized is determined by its magnetic properties, such as its composition and crystalline structure. Iron, in particular, has ferromagnetic properties, which means it can be easily magnetized and retain its magnetism even after the external field is removed.
In summary, an iron rod becomes magnetic when it is exposed to an external magnetic field or when it comes into contact with a magnet, causing its magnetic domains to align and creating a net magnetic field within the rod.