I can’t speak about the relation between kernel weights and colors, but it’s possible that the Bayer filters in cameras play a role in it.
Most RGB images result from demosaicing, basically interpolation from the existing “color” values, and the green channel has two times the number of pixels than red and blue, therefore being more “accurate” in the green channel than red and blue…