I agree...since he's older, he is probably still on a past schedule. He's barking because he thinks it is time to get up (and probably poo and pee).
Welcome to YT!! Feel free to ask all your questions. There are some really great and experienced people here (I have learned so much from them)!