Buy vs Lease to Buy

I’m looking to purchase a 2025 Hyundai Ioniq 5 Limited. I have two offers:

Dealer A: $52,927
Dealer B: $51,803

Both dealers suggested that I lease the car for 3 months before breaking the lease early and buying out the car because there is a $17.7k rebate on a lease (vs $11k on cash). The terms of each lease are below:

Dealer A: Adjusted Cap cost $48,550, Residual $28,926, Monthly - $771, $771 down
Dealer B: Adjusted Cap cost $44,360, Residual $30,035, Monthly - $656, $2000 down

The fact that both dealers are pushing the lease to buy option seems fishy to me. Am I missing something? Ultimately, I want to purchase the car for the best price but lease to buy seems like a hassle that might not be worth it.