The etymology dictionary says that ‘dote’ dates from around the year 1200 and meant to behave irrationally, do foolish things, be or become silly or deranged. That fits with the modern use of ‘dotage’ but in modern English the word ‘dote’ means to give someone a lot of love and attention, to try to satisfy their needs.