What Physics Determines the Peak of the IMF? Insights from Radiation-Magnetohydrodynamic Simulations"