While Prime has been reprogrammed to target new targets such as Enclave and Institute personnel (as well as Super Mutants), he still believes these enemies are the Chinese. According to the robot, he's still fighting The Great War he was built for 200 years ago, hence the strange dialogue.