Understanding the complex interactions between bacteriophages (phages) and bacteria within varied environmental niches is critical yet underexplored for improving microbe-assisted ecological restoration. This study investigates the influence of microhabitat heterogeneity within an abandoned mine on phage-bacteria interaction patterns, focusing on Pseudomonas-enriched bacterial communities. By isolating viral communities and purifying bacteria from soils of three distinct microhabitats, we assessed the regulatory role of environmental factors on these interactions, crucial for bacterial success in environmental applications. We characterized microhabitat variability by analyzing soil particle size fractions, minerals composition, and elemental content using X-ray diffraction and energy-dispersive X-ray analyses. 16S rRNA sequencing and cross-infection assays revealed that although bacterial communities across different microhabitats are taxonomically similar, their interaction patterns with phages are distinct. Phage communities showed nonselective infectivity across soil types, while bacterial communities exhibited selective adaptation, facilitating colonization across diverse microhabitats. Minerals such as mica, kaolinite, and hematite were found to increase phage infectivity, whereas mixed-layer clay correlated with early lysis. Additionally, higher levels of iron (Fe) and potassium (K) were linked to bacterial resistance strategies. Our findings highlight the importance of understanding asymmetric adaptive strategies between bacteria and phages, driven by microhabitat heterogeneity, for enhancing microbial-mediated nature-based restoration of degraded ecosystems.