You didn’t grease them or didn’t apply enough grease on all corners of the pan. You should also sprinkle flour or cocoa powder, especially when using glass pans.