problem with the roll of camera tracking an object
The Trackto constraint defines what axis points towards the target and which axis is considered "up". As the camera passes under the target, moving from being on one side to being on the other, the camera is being flipped to maintain the correct "up" orientation.

The solution is to change the constraint to use local space, this will change the initial orientation so you will also want to change the up axis to X