The camera in every mac I’ve owned have been garbage. I don’t understand how the same company that produces the iPhone can release laptops with such useless cameras in them.
tldr the camera is not great. I suspect it's because it's recessed in the monitor behind glass in a way that it isn't on the iPad and it's getting some scattered light that wasn't accounted for.