what causes mouth ulcers and hair loss