Fearing that Castro's hurt pride and widespread Cuban indignation over the concessions Khrushchev had made to Kennedy, might lead to a breakdown of the agreement between the superpowers, the Soviet leader concocted a plan to give Castro a consolation prize.
BBC: Cuban missile crisis: The other, secret one