I hope that this is the right place to ask this question. I ask it here because I want the answer from an "orthodox" or "traditional" point of view rather than from more modern or scholarly point of view. I don't want a debate on whether or not the Buddha was omniscient.
If this is the wrong place to post this, then by all means move it.
It is my understanding that Classical Theravada states that the Buddha is all knowing, but why is this, or rather how did this come to be?
Is it a quality of being a sammasambuddha rather than an arahant? If the Nibbana attained both by the Buddha and the Arahant is the same, then why would this be so? Or is it more to do with him being a highly "evolved"(if I may use that word) being in the sense that he worked for eons gaining merit and perfections, and that this is why he has gained omniscience, not as a direct result of Buddhahood or the attainment of Nirvana but as a side effect of being meritious enough to become a Buddha? Or some other reason?
Are Buddhas by nature omniscient or perfect in other ways, and why is this so? I can see why a being that has become a Buddha would have to have gained a lot of perfections in order for that to become possible, but is it necessary?
"If beings knew, as I know, the results of giving & sharing, they would not eat without having given, nor would the stain of miserliness overcome their minds. Even if it were their last bite, their last mouthful, they would not eat without having shared."