![](https://sh.itjust.works/pictrs/image/15bb939b-2810-4e0c-bebc-1c404d920b9e.jpeg)
![](https://midwest.social/pictrs/image/ad47ab68-96ca-402d-af3f-e79d07bbaab1.png)
Tl/Dr dwarves and elves have a complicated history. They do not all hate each other and they do not all love each other.
The elves and dwarves of Tolkiens legendarum have animosity towards one another. But saying “the elves would genocide the dwarves” no, the Elves as a whole would not wish to exterminate the dwarves as a race. There were some among the Noldor (a part of the population of High Elves that left Valinor to reclaim the Silmarils from Morgoth) that believed the dwarves had cheated them. The Dwarves tell it another way, Tolkien is unclear on the truth of the matter. However those dwarves were not the clan of Longbeards. The Longbeards do not come into the tales of the first age. Their halls were east and south of Belariand. In Khazad-Dum.
All that to say the animosity between the elves of Lothlorian and the Dwarves of Khazad-Dum can probably be traced to the fact that most of the Elves present are dark elves/green elves. Who also has their own unrecorded spats with dwarves of different clans. (Also the fact that the dwarves unearthed a balrog probably doesn’t help matters)
So yes there is animosity between the two races. But there is also friendship. The elves of Holand and the dwarves of Khazad-Dum were united in friendship. A fact somewhat touched on, in the recent show the Rings of Power. (Although poorly done in my opinion)
Edit a word and some other added context
I’ve already commented on another post with the why and how the dwarves and elves might dislike one another. But to say the Elves would “genocide dwarves and enslave men” if they ruled Middle Earth (spoiler they did rule Middle Earth for a time and none of that occured) is blatantly wrong and antithetical to Tolkien’s work.