This isn't messed up.
That in 1960, Winston cigarettes were a sponsor for The Flintstones. At the time, the cartoon was geared more toward grown-ups. But still. The prehistoric cast became "spokestoons," doing shameless product placement bits, which were incorporated into the episodes. Winston at least had the decency to end its partnership with the show once Wilma got pregnant.
After watching Betty and Wilma do all the housework, Barney and Fred decide to "do something" so they decide to "take a break" with Winstons.
After fixing the record player, Fred rewards Barney with a cancer stick, er, Winston.
And then it gets creepy when the record begins playing a Winston spokesman voice.