The trees, preferring a bad king to having none (compare 1 Samuel 8:18–19), asked the thornbush to be king. Although neither useful nor attractive, the thornbush accepted. The person who agreed to be king had no better work to do.
The thornbush could not provide shade from the hot Middle Eastern sun. Accepting this offer was both pointless and unwise.