Why could the dragon not bring back Goku after he fought Frieza? After Goku fought Frieza and the planet blew up, everybody on earth thought Goku was dead. So they used the dragon balls to wish to bring Goku back to life, but the dragon then told them that Goku was still alive. They then asked the dragon to teleport Goku back to Earth. The dragon then said no, because Goku did not want to.

So why would the dragon listen to Goku, who was not making the wish?
Porunga is not able to relocate someone against their will as stated in the Porunga Wikia. Its his limitation. As Shenron has his own limitation like granting only one wish, not able to resurrect the same person more then one time. Porunga has his own limitation of not relocating someone without his own will.