Oscars are big drama queens, maybe you moved too much stuff around the aquarium, or removed another fish, that sometimes make them hunger strike.
Other option is that the water quality is bad and they dont like it, that happened to me on an overstocked aquarium.
finally, what are you feeding him? have you changed his diet?
try offering him something tasty or new