Sounds like you had apps that were downloaded / bought with that other Apple ID trying to download to the iPad.
If you restored a backup that had links to those apps they'll require that Apple ID and password.
Apps are forever tied to the Apple ID that download them, and will always require it to update or download after restoring a backup.