We investigate the dynamics of a two-qubit XYZ Heisenberg model that incorporates Dzyaloshinskii–Moriya (DM) interaction, taking into account both homogeneous and inhomogeneous magnetic fields applied along the \( z \) -axis. Our study involves analyzing the evolution of entanglement, quantum correlations, and coherence by using measures such as concurrence, local quantum uncertainty, and coherence to address intrinsic decoherence effects. Our results indicate that when the system starts in a pure separable state, it can evolve into correlated states. Notably, the presence of a magnetic field can enhance the preservation of quantum correlations compared to scenarios without a field. In contrast, for systems that begin in entangled or mixed states, we observe a significant decay in quantum correlations and coherence when a magnetic field is present. Moreover, we demonstrate that the DM interaction parameter plays a crucial role in controlling and optimizing the stability and oscillation amplitude of these quantum properties. These findings contribute to a deeper understanding of spin-based quantum information transfer and can guide the design of efficient quantum devices.