Feshbach resonances in 2D materials