A friend of mine had weird starting issues like that with a new Hyundai Tucson. The dealer couldn't figure it out. He read something online and ended up getting a faraday cage - he keeps his smart key there when he's not using it and he stopped having problems.