Not exactly sure . Looking it up apparently Children of Dune has Leto II mention that eons ago sandtrout were brought to a lush, green, wet Arrakis and they transformed it into a desert.
I wonder why they went the way they did? In the book...Paul spent 2 years destroying Harkonnen spice production before the Baron and the Emperor responded to him.