means that
romantic feelings, like a persistent cough, tend to reveal themselves even when someone tries to conceal them.
Imagine a case where people that are in love cannot hide it; Suggests that they are so happy that cannot conceal it; then “Love and a cough cannot be hid” fits well.