They were both surprises. Neither was expected to leave and talked with Painter multiple times. Without going into the work ethic speculation and tearing down the player, even though the rumblings have been there for a few months and painter touched on it in his interview (regarding the entire team, not just those two), I think a lot of it had to do with role and playing time. Haarms is going to be a senior and lost his starting role to Williams. It was going to be a dog fight to get it back. Eastern was likely to see his minutes diminish as well. He doesn't bring much offensively and Purdue has some super talented guards coming in that bring as much as him to the table.
Also, I recommend listening to the interview vs reading comments. Two totally different narratives. Reading makes painter sound awful. Listening tells you a totally different story.