Ezra gets those scars on his left cheek after being hit by the Grand Inquisitor's lightsaber in Fire Across the Galaxy. They are a permanent reminder of his need to grow and the things he's been through.