Two‐dimensional relativistic simulations of resonance absorption