The US was going to start WW3 over Cuba becoming an ally of the USSR.
However the crux of the issue wasn't that there were missiles but that the missiles were placed secretly.
There is a nice podcast series about it
https://www.historyextra.com/podcast-series/cuban-missile-cr...