Continuity mistake: During the scene near the end when Joy gives the core memories to Sadness, we see the scenes on the screen which are supposed to be Riley's core memories. The first 4 are correct: Friendship, Family, Goofball, and Hockey. The last scene is supposed to be the last core memory: Honesty, where she reveals a hammer that she broke a plate with. Instead, it is the ice skating scene which Joy used earlier in the movie to replace the nightmare. (00:19:05 - 01:21:18)
Continuity mistake: When the friendship island falls, we have a zoomed out shot that shows a clear path of pink ground leading to the three other islands on the edge of the cliff with none of the memory storage units. This path disappears once we leave that shot. It also shows Imagination land as being right behind the island, roughly where Joy is standing, but she's in the memory storage convolutions before and after the landscape shot. (00:36:54)
Continuity mistake: Bing Bong hurts his leg and cries candies. One with a grey wrapper vanishes in the next shot. (00:40:00)
Continuity mistake: Whenever young Riley is pulling the wagon around the house, Fear stops her at a white cord in an outlet. In the next shot, it is a black cord.
Continuity mistake: At the very beginning of the movie when Riley is born, the shot from behind shows the mother wearing the glasses. In the next shot the glasses disappear.
Continuity mistake: On Riley's first day of school, she has a blue notebook on top of some other books on her desk. After her story about Minnesota, she sits down, where the notebook is now under another book.
Continuity mistake: Towards the end of the movie, between Fear's line "Oh, I wish Joy was here," and Sadness arriving at the console to remove the idea bulb, the console somehow gets more normal-colored when Sadness gets there.
Continuity mistake: Joy and Sadness had to pass through Imagination Land before reaching the last three islands. But then later after Joy escapes the abyss of forgotten memories not only are both she and Sadness back at the beginning of Imagination Land but that entire area is suddenly sitting right outside Family Island, and then on top of that Joy is able to run around the outside of Imagination Land with a clear and open path to Family Island.
Answer: Sadness can change the memories because of Riley's current situation: she has left the home she loved to move to a new city. This makes her happy memories more susceptible to being changed to sad memories. As she remembers things that used to make her happy they now make her sad because she hasn't accepted her new house as home yet. Presumably under the right circumstances the other emotions could do the same thing, just not all the time.