It may have to do with limitations of allocating memory chunks on 32-bit machines when these formats were originally designed. The decoder allocates a contiguous buffer that can hold the whole image.
I agree those limits are too small.
WebM is, strictly speaking, a container format that is a subset of Matroska. It doesn't have any real relation to WebP.