Photo albums incomplete after transfer to new phone?

I had a Pixel 3, and I just switched to a Pixel 4 using the standard usb-c to usb-c transfer during phone setup. It seems all my photos are there, but they aren’t all in the albums anymore. The albums have half as many pictures as they did, and the missing ones are simply uncategorized.

Why did this happen and is there any way to fix it?