Srimad Bhagavatam Canto 10, Chapter 77, Text 31

SB 10.77.31

kva soka-mohau sneho va
 bhayam va ye ’jña-sambhavah
kva cakhandita-vijñana-
 jñanaisvaryas tv akhanditah
 
Translation: 
 
How can lamentation, bewilderment, material affection or fear, all born out of ignorance, be ascribed to the infinite Supreme Lord, whose perception, knowledge and power are all similarly infinite?
 
Purport: 
 
Srila Prabhupada writes: “Lamentation, aggrievement and bewilderment are characteristics of conditioned souls, but how can such things affect the person of the Supreme, who is full of knowledge, power and all opulence? Actually, it is not at all possible that Lord Krsna was misled by the mystic jugglery of Salva. He was displaying His pastime of playing the role of a human being.”
 
All the great Bhagavatam commentators conclude that grief, illusion, attachment and fear, which arise out of ignorance of the soul, can never be present in the transcendental dramatic pastimes enacted by the Lord. Srila Jiva Gosvami gives many examples from Krsna’s pastimes to illustrate this point. For instance, when the cowherd boys entered the mouth of Aghasura, Lord Krsna was apparently astonished. Similarly, when Brahma took away Lord Krsna’s cowherd boyfriends and calves, the Lord at first began to look for them as if He did not know where they were. Thus the Lord plays the part of an ordinary human being so as to relish transcendental pastimes with His devotees. One should never think the Personality of Godhead is an ordinary person, as Sukadeva Gosvami explains in this and the following verse.
Srimad Bhagavatam Canto 10, Chapter 77, Text 30
Srimad Bhagavatam Canto 10, Chapter 77, Text 32