"She had sought to avoid observation, and her movements might have passed unnoticed, but the ointment filled the room with its fragrance, and published her act to all present. Judas looked upon this act with great displeasure. Instead of waiting to hear what Christ would say of the matter, he began to whisper his complaints to those near him, throwing reproach upon Christ for suffering such waste. Craftily he made suggestions that would be likely to cause disaffection. DA 559.1"
"But when his disciples saw it, they had indignation, saying, To what purpose is this waste?"
Both passages describe the disciples' (specifically Judas') reaction to Mary anointing Jesus with expensive ointment, questioning the 'waste'.
"Judas had a high opinion of his own executive ability. As a financier he thought himself greatly superior to his fellow disciples, and he had led them to regard him in the same light. He had gained their confidence, and had a strong influence over them. His professed sympathy for the poor deceived them, and his artful insinuation caused them to look distrustfully upon Mary's devotion. The murmur passed round the table, “To what purpose is this waste? For this ointment might have been sold for much, and given to the poor.” DA 559.3"
"But when his disciples saw it, they had indignation, saying, To what purpose is this waste?"
EGW directly quotes the disciples' question from Matthew 26:8.