| Unity 2D | My background appears in front of the other elements (2D)

When I created the project, everything was fine, but when I closed it and opened it again, my background image appeared in front of all the other objects. All of the z positions are 0 , and I’ve tried using layers, which don’t work either (i’m a beginner so i don’t know if i did anything wrong there). What’s weirder is that my objects are visible when I look at them in scene view from a certain angle , but they disappear in the game view and if I look straight at them. Can anyone help?
203929-image-2023-01-15-121217207.png

203930-image-2023-01-15-121235792.png

Turns out I was in debug mode.