Palette swap issues

I’m trying to swap the colors of something, but whenever I switch palettes the entire picture has its colors swapped. When I remap to the palette I’m trying to use and then try to edit the sprite myself, it doesn’t let me use certain colors and just turns into an eraser for some reason and I cannot figure out why

you must be used indexed, try switching to rbh mode.