Compared to normal liquids, water exhibits a variety of anomalous thermal behaviors. This fact has been known for centuries. However, the thermodynamic mechanisms behind them have not been elucidated despite the efforts of many researchers. Under such circumstances, the author theoretically reproduced the measured values of the density-temperature curve at 1 atm for water above 0 oC. Then, the mystery of negative thermal expansion was clarified in relation to the shapes of the intermolecular interactions. In this paper, the author develops this line of work further and presents the interactions between water molecules to simultaneously reproduce the measured values of both the density-temperature curve and the isothermal compressibility-temperature curve in the range -30<T(oC)<100 at 1 atm. Then, the thermodynamic mechanism that produces these thermal behaviors is clarified in relation to the shapes of the interactions between molecules. Unraveling the mystery of related phenomena in relation to the shapes of the interaction between molecules has been a traditional and fundamental method in physics since the days of Newton.