In The Feynman Lectures, in the chapter Characteristics of Force, In the section entitled Molecular forces, Feynman talks about the molecular forces, and then he states afterwards:
If the molecules are pushed only a very small distance closer, or pulled only a very small distance farther than d, the corresponding distance along the curve of Fig. 12–2 is also very small, and can then be approximated by a straight line. Therefore, in many circumstances, if the displacement is not too great the force is proportional to the displacement. This principle is known as Hooke’s law,...
I understand that at $x=d$ and the region nearby, this function can be modeled as $F=-kx$. Although I know that Hooke's law for the springs has exactly the same form, But why Feynman brings up Hooke's law when discussing molecular forces? Has these two forces something to do with each other? Is one the result of another? or he just saw an opportunity to mention Hooke's law, since The molecular force function at $x=d$ has the same mathematical form of Hooke's law?