Why?
The US and the Soviets were enemies at that time (I will tell you why later). Since the United States placed ICBMs in Turkey, which were in range of the Soviet Union, the Soviets decided to bring ICBMs in range of the US. They chose to put the ICBMs in Cuba because Cuba was the Soviets closest ally to the US. Cuba is the Soviet Union's ally because they were also communist.