Some think the answer lies in the cycle of the fig tree. In the spring the tree sends out little bud followed by the growth of leaves. Travelers could pluck these buds and eat them. They didn’t develop fully until fall. So because the buds weren’t present in the spring Christ cursed the tree. Once again the Bible makes sense upon further reflection. Indeed there is a clearly defined fig tree season. However a few rare species bear fruit outside the norm. So the test wasn’t the time of year but the appearance of leaves. Thus when Jesus saw the tree in full bloom He rightly expected fruit. But there was none.
Jesus, the prophet used the tree as an object lesson. He denounced the hypocrisy. The leaves were in full bloom but there was no fruit.