If the photos you are trying to delete were synced to your phone from your computer, you have to sync them off in order to remove them. If you want to remove them all, uncheck Sync Photos on the Photos tab of your iTunes sync settings and sync. If you only want to remove some of them, remove these photos from the folder you have selected to sync photos from and sync.