most asteroid are inmune to electric and fire damage, for realism, but for some reason the demolisher asteroid dosent have those resistances,(english isnt my first languaje sorry)
This isn't actually a bug. The asteroids use the same resistances as Demolishers usually do, which doesn't include electric.
As for realism - it's because the high intensity electric arc super heats the tungsten asteroid, shattering them.