It was called failure to thrive and was a common cause of infant death.
My nephew had failure to thrive. It was a very difficult time. He survived when my mom recommended evaporated milk. He could not tolerate formula and could not latch due to a cleft pallet.