GTK/Glib/whatever is more than just UI just as Cocoa/Foundation/whatever is more than just UI.
Oh, and GTK runs on far more platforms than Cocoa (Cocoa runs on Macs and iPhones/iPads, whereas you'd be able to use GTK on Mac, Windows, desktop and handheld Linux, as well as other Unix flavors)