Disentangling the Mechanisms Behind Implicit Regularization in SGD