Why did the arabs flee,or the real reason of the refugee problem?

The arabs today say that the refugee problem is the result of Israel´s acts.But I read in the ewspapers that the palestinian arabs fled because
the governments of the arab countries which attacked Israel in 1948 encouraged them to flee.
Is this true?
2 answers 2