In a country where the housing problem is a real national problem, having consensual sex between couples is often considered a luxury. In Cuba, life is pretty tough as people are often forced to live under the same roof with multiple other people -- often forgoing the privacy to have sex in private.
Now, the state wants to step in. 30 or so years ago, "Love Shacks" were a thing in Cuba a country where the national salary of people was about $30 (the average national monthly salary). State officials want to encourage others to "knock boots" and hope that the love shacks will prevent further instances in which things happen in public places.