A urinary tract infection can cause confusion. That’s a possibility.
With my mom UTIs make her confused and cause so much pain she can barely walk. After one in mid-December she had a reaction to the antibiotic and then developed pneumonia. After a week in the hospital she was diagnosed with Squamous non-small cell lung cancer, stage 3 or 4. She now eats very little and is not mobile. I asked her about cancer treatment her reply was “I haven’t thought about it”. She’s 83 and won’t fight.
Beowulf9, my heart goes out to you for what you’re going through.