A creature that touches the creature or hits it with a melee attack while within 5 feet of it takes 3 (1d6) fire damage.