Rules of origin determine how much of a product must be made within a free trade area for it to receive duty-free treatment. Car makers rely heavily on global value chains in which different parts are made in different countries.
Japan prefers liberal rules of origin because its industry's supply chains include non-TPP countries such as Thailand, while Canada and Mexico want stricter rules because their industries benefit from preferential access to the US market via the North American Free trade Agreement.