Funny poop can definitey just be a sign of stress; something may have been changed that he didn’t like. The pee, however, concerns me. Dark pee is usually a sign of either a UTI, kidney problems, etc. You should definitely consider a vet appointment.
Hope this helps 🙂