She bought him flowers to cheer him up.
cheer up
idiomTo become happier or less downcast.
After a long and difficult week at work, he went to the cinema to cheer himself up.
Although the persistent rain dampened their spirits, the group tried to cheer up by sharing stories and singing songs around the fireplace.