Our research demonstrates Resistive Switching (RS) behavior in SrTiO3 layers grown directly on silicon substrates. This behavior is attributed to a novel physical mechanism that leverages the semiconductor band's electronic structure at the Si/SrTiO3 interface. Specifically, the conduction band offset between Si and SrTiO3 creates a potential well, confining electrons within the SrTiO3 and limiting Oxygen diffusion into Si. This unique approach allows for the direct integration of memristive devices onto silicon, offering a promising avenue for future electronic device fabrication.