Dwarves have no particular accepted origin or default. In Germany, the dwarfs of the mountains are closer to peaceful stone fairies. Nonetheless, modern fantasy strongly takes from Tolkien. Who in turn took from myth. The conversion of mythology to fantasy is gradual, but not about to stop.