Ok, so. Ehhm. You know how in undertale you have to be very friendly to get one ending and very mean to get another?
Well, you basically got those two endings.
To get the third ending you need to engage with it, but also set some personal boundaries 👍