Ideas
I can't tell if your situation is the same as what I experienced, so I apologize if this doesn't solve your problem at all.
I also struggled with a similar issue before.
It was this: ‘Even though the Sim's traits didn't include “Fear of the Dark,” a “Fear of the Dark” mood would appear at night, and the Sim would become frightened.’
I fixed it using the following method:
① Use a cheat to manually assign the “Fear of the Dark” trait to that Sim.
② Once the “Want to overcome fear” desire appears, have them go outside at night using the normal method (while feeling confident).
③ Let them overcome the fear.
④ After that, even a week later, going outside at night didn't trigger the “Scared in the Dark” mood!
I'd be honored if this helps even a little.
※ I'm writing this using a translation tool. Sorry if the English sounds strange.