The text plays on the double meaning of 'casket'. It can refer to a coffin, which is often accompanied by flowers at a funeral, and it can also imply that the cynic is looking for something negative (the 'casket') even when faced with something positive (the 'flowers').
A cynic smells flowers and looks for the casket .