If the previous chat was something that would cause a regular human to smile or laugh (a behaviour existed somewhere on its training data), then "smiling" and "laughing" are probably the most likely next tokens to express humor. Similar could be said about topics other than humor.
it only matters if you want to take the world 'literally' literally