Lime juice is phototoxic — on contact it sensitizes the skin to ultraviolet light, so that exposure to sunlight can then produce redness, itching, burning, and even blisters.
The reaction is called phytophotodermatitis, or margarita photodermatitis. It can also be caused by celery, parsnips, parsley, and figs.