I believe it's the cruise line, Royal Caribbean that has the 6 month requirement. According to Travel.State.Gov site, Cuba requires a valid passport, there is no mention of it needing to be valid for at least 6 months after the travel has been completed.