Answer:
The foundation was somewhat bad
Explanation:
The leaning was caused by the uneven settling of the building's foundations in the soft ground. Three of its eight stories had been completed when the uneven settling of the building’s foundations in the soft ground became noticeable. At that time, war broke out between the Italian city-states, and construction was halted for almost a century. This pause allowed the tower’s foundation to settle and likely prevented its early collapse.
hope this helps:)