Hi, my pal, according to your description, I can tell that your PDF B file is totally modified by the Markup tool on your iPad, so it's scarcely possible to restore it to the original version or recover it with a third-party data recovery utility.
In order to avoid data loss, you're highly recommended to make a full backup of all important files and data on your device to an external hard drive.
Good luck~