I was in Portland as a hotel guest/tourist. On cruise ship day, it was hell for non ship tourists. Nothing available, restaurants packed, no transportation. Next day, back to normal.
Haven't been to Bar Harbor, but these little towns aren't year round stops and they just don't have the infrastructure for massive ships.