Around menopause (known as perimenopause), your brain is doing some interesting things. First of all, the brain is reactive to hormones such as oestrogen, progesterone and testosterone. Changing levels of these hormones around menopause affects how your brain processes information and emotions.
The other thing that's going on in your brain around menopause is that it is literally rewiring itself! There are differences between a pre- and post-menopausal brain!
One main difference between pre- and post-menopausal brains is that after menopause, you have weaker reactions to negative stimuli. Things that might have strongly upset you before are less upsetting after menopause.
In other words, there's a biological basis to "not giving a shit" which lots of people report feeling after menopause!