Things like that have happened many times to me before. Did not matter what I was doing. I would get a wish to level up charisma and the next morning it would level up while cooking. Or I would want to become best friends with whoever and in the middle of gardening at 6am I would fulfill that wish, without talking to anyone for hours! Another bug is wanting to meet someone new, I could again be doing anything but meeting someone (even socializing) and my wish would be fulfilled. I don't like the charisma skill and try to avoid it. Usually if the bug hits me, I can max it within a sim week without trying, doing the minimal to keep my social bar in the green.
Once I had a Sim know so many people it was bothersome to call, invite over or throw a party because she knew literally everyone, and she was best friends with everyone too.