Today Daksha recollects the event which he thinks was an insult towards brahma by lord Shiva..
The hatred was not baseless but it all had to happen
So this is why Daksha hated Shiva so much:
MYTH - I
Mythological references interpret that Lord Brahma considered Himself as overwhelming and dominating amongst the Hindu Trinity of Lord Brahma, Lord Vishnu and Lord Shiva; since He was the Creator of the Universe.
This demonstration of pride provoked Lord Shiva, who cut off Lord Brahma's 5th head and also cursed Him to wander in the Bhoolokha (Earth).
Having cut off Lord Brahma's 5th head, Lord Shiva got the Brahmaharthi Dhosham, and the plucked head of Brahma stuck to his palm. Lord Shiva started out on a pilgrimage to liberate Himself from the curse by begging for food with Lord Brahma's skull as the begging vessel.
But whatever food was put into the vessel immediately disappeared. It was at Bitchandar Koil; that Lord Perumal requested Devi Lakshmi, as Poornavalli Thayar to offer food to Lord Shiva. Devi Lakshmi filled the vessel with food to end Lord Shiva's hunger.
Thirukandiyur(Tamil nadu)- Kapaala Teertham
However, Lord Brahma's skull was still stuck to Lord Shiva's palm. At the behest of Vishnu, Shiva bathed at Thirukandiyur and prayed to Goddess Kamalavalli and Lord Vishnu. It was at Thirukandiyur that Lord Shiva finally attained salvation and got rid of the stuck head. The water tank in the Temple is hence referred to as Kapaala Theertham.
Myth - II
Brahma's Head
Years ago, there was a war between the gods and the demons and the gods lost. The gods came to Brahma for advice and Brahma asked them to pray to Shiva.
When Shiva appeared before them, the gods said, "The demons have defeated us. Please kill them and save us."
Shiva went to fight with the demons. He drove the demons off from Mount Sumeru and out of heaven. He pursued them to the ends of the earth. All this exertion made Shiva sweat. And wherever the drops of sweat fell down on the ground, terrible ogresses named matris were created. The matris also started to kill the demons and pursued them down to the underworld.
While the matris were killing the demons in the underworld, Brahma and the other dos waited on the banks of the river Goutami Ganga. This place came to be known as Pratishthana.
When the matris had killed all the demons, they returned to earth and began to live on the banks of the Goutami Ganga. This tirtha has come to be known as matritirtha.
Brahma used to have five heads. The fifth head was in the shape of a donkey's head. When the demons were running away to the underworld, this donkey's head addressed the demons and
said, "why are you running away? Come back and fight with the gods. I shall aid you in your fight."
The gods were alarmed at this paradoxical situation. Brahma was helping them in their flight with the demons and Brahma's fifth head was trying to help the demons. They went to Vishnu and said, "Please cut off Brahma's fifth head. It is causing too much of confusion."
"I can do what you want," replied Vishnu, "but there is a problem. When the cut-off head falls on earth, it will destroy the earth. I think you should pray to Shiva to find a way out."
The gods prayed to Shiva and Shiva agreed to cut off the head. But what was to be done with the severed head? The earth refused to bear it and so did the ocean. Finally it was decided that Shiva himself would bear the head.
The place where Shiva cut off Brahma's fifth head is known as rudratirtha. Ever since that day, Brahma has had four heads and is known as Chaturmukha (chatur connotes four and mukha connotes face). There is a temple to Brahma on the banks of the Goutami Ganga. This is a holy place known as brahmatirtha. A killer of brahmanas is pardoned his sin if he visits this temple.
-source internet