Deductions & credits

Look at your 1040 line 22 for total tax.  The EV credit will only reduce the tax to zero.  If your non-refundable credits reduce your tax to 0 you will get back all the withholding and payments and any Refundable Credits.  Sounds like you are getting your withholding back.