When ever this normally happens i go the the scene tab in properties and just change the camera, or i go to view-camera-set active camera and it works fine but now, when i click render it switches the camera back to the object/rig. not sure why, this is an animation, I don't know if that effects anything
You've bound the camera to a marker.
And the active camera is not a camera, but an object.
When you bind a camera to a marker, it becomes the active camera starting on that frame in the timeline. Binding cameras allows you to switch cameras at a certain point in the animation. But since there are no other active cameras bound to other markers, the object becomes the only camera that will be used for rendering the whole scene.
To fix it just delete the marker. Go to the frame where the marker is and Select marker > Delete Marker
From the blender manual:
Bind Camera to Markers is a special operator only available in the Timeline. The operator allows markers to be used to set the active object as the active camera.
To use this operator, select the object to become the active camera and select a marker to bind the active camera to. If no marker is selected when the operator is applied, a marker will be added. When an object is bound to a marker, the marker will be renamed to the name of the active object. These markers also have a camera icon next to the left of the name to easily distinguish them from other informative markers.
These markers can be moved to change the frame at which the active camera is changed to the object the marker is bound to.