Those ending happen if you don't spend enough time with either of those girls when you aren't their roommate.
So do you mean to ignore the date interactions when they become available or try to avoid their other encounters like at the park, doughnut shop, and work as well?