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