Most likely there were no ready libraries when they started. Even now there are very few that can be called stable. And even then many of them are HTML based.
So if you are going to spend that much time developing GUI from scratch you might as well make it your own library and get full control.