Goblins and Dwarves live in the same kinds of places, and have a long standing rivalry for occupation of those places. That's the primary source of their conflict.
Goblins.
When the dwarves and Bilbo were captured, so were all of the ponies. The goblins ate the ponies.
The goblins were able to sneak up on the dwarves in The Hobbit because they used secret passages in the Misty Mountains that the dwarves were unaware of. Additionally, the goblins were skilled at moving quickly and quietly through the tunnels, allowing them to surprise the dwarves.
Bilbo and the dwarves are caught first by trolls, then by goblins. they are trapped up in a tree because of goblins and Wargs
His shouts allow Gandalf to escape capture by the goblins. And he finds a way to get the dwarves out of the Elvin King's dungeon.
There are the hobbits, men, dwarves and elves. There are also goblins, trolls and giants.
It was the Battle of Five Armies. The armies were the humans, elves and dwarves against the wargs and the goblins.
The movies do not tell why the Dwarves are hated in The Hobbit and The Hobbit DoS. However, it is believed that past wars and experiences are the reason the Dwarves are hated.
The dwarves are Bilbo's friends for most of the Hobbit.
The Dwarves were taken prisoner four times in The Hobbit:The Trolls bagged themThe Goblins chained them upThe spiders in Mirkwood bound them up in webbingThe Elf King put them in the dungeon
The battle took a turn in favor of the men, elves and dwarves when the eagles arrived. They threw the goblins off the mountain side.
It is called the Battle of the Five Armies. There were men, elves, and dwarves on ones side, helped by the eagles and Beorn. The other side were the goblins and the wargs.