Becuase it would make sense if they were
Though they are immune, ground types can still be hit with static. Electric types are fair game too.