Thin chest walls can be caused by multiple factors including prematurity, low birth weight, and genetic conditions like osteogenesis imperfecta. Premature infants have underdeveloped muscles and bones, which contribute to the thinness of their chest walls. Additionally, inadequate nutrition during gestation can also play a role.