A cow plant will only eat a sim if they've not been fed for more than 24 hours. If the cow plant's hungry, they'll dangle a cake to attract the sims and then devour them. But the first time, it'd spit them out, and if they get eaten a second time, then the plant would eat it up.