It's probably a different cabin class.
The price differences on code shares are often due to booking classes. Booking classes are the classes within a cabin class.
It can also be down to the type of fare. Which in simple terms is private vs published.