This article aims to investigate the complex relationship between a local population and its natural and urban environment. The study area, which was previously dominated by cereal cultivation, is currently facing profitability challenges due to climate change, water scarcity, rapid urban expansion, and the overexploitation of aquifers, influenced by changes in agricultural practices, which are disrupting the local ecosystem. This study relies on three interconnected indicators, population growth, climate change effects on agriculture, and the NDVI (Normalized Difference Vegetation Index), and reveals the impact of these factors on agricultural practices. Google Earth Engine was employed to determine the urbanization and greenness indices using scripts. The significant findings of this study demonstrate the remarkable demographic growth of 49.96% during the study period (2000–2020). Furthermore, this growth has led to a new trend towards intensive farming, with a substantial increase in irrigated lands by 44.19% and a multiplication of protected crop lands by 20 times, rising from 19.88 to 405.89 hectares. Additionally, horticultural production surged by 212.4% during the same period. Moreover, groundwater levels shifted from less than 50 m in the northern regions to less than 150 and 300 m in the southern part of the study area. The water potential in the study zone cannot meet the demands of the new agricultural orientation, which tends to deplete local groundwater, potentially causing recurrent shortages of agricultural products. This study underscores the importance of incorporating agricultural production into future urban planning and development programs to maintain a renewed balance between built environments and agriculture in peri-urban areas.