It is always dangerous to speculate on the motivation of others. One possible goal is to secure a UN peace keeping force that would, of course, be dominated by his third world allies. The next step of course, would be an UN imposed peace giving him his demands. A second goal might be to goad Israel into a massive response that would lead to world wide sympathy for his cause. Then again, you could be right.
Somehow I suspect you don't think I am.