Physics of the Solar Wind–Local Interstellar Medium Interaction: Role of Magnetic Fields