I've never seen a calculation but I understand that when Maxwell formulated his famous electricity and magnetism equations and from them realized that they suggested a EM wave propagating and used them to calculate the velocity of propagation he got the answer of c. So it seems it has something to do with how E and M relate.