Cranks but won't start
Check fuel pressure, pump may be failing
bad connection with fuel pump relay, bend pins a little to make relay tighter in socket relay gets hot well driving weakens socket and makes bad connection to relay, had problem with both of my cars.
Search Hyundai Elantra Questions
Hyundai Elantra Experts