From your orange photos, it looks like you were shooting wide-open (widest aperture), like f/1.7 if you were using the M50. When you do that, your depth of field (area in focus) is going to be very thin, and most of the rest of the photo will be out of focus. This style is good for portraits, when you want to isolate the subject from the background. In the first shot, your focus is sharp on the larger orange, and the dead leaves above it. Because you were shooting wide-open, everything else will be blurry. If that's not what you intended, stop the lens down to f/8 or so and try the shot. In the 2nd shot, the wrinkled orange and the branch it's hanging on looks like it's in focus, with everything else oof.
This isn't a real good photo, but it will serve as an example. I used the M50 f/1.7 wide-open (f/1.7) for this shot. I focused on the two berries near the center - note almost everything else is OOF. That's what happens when you use a wide aperture: