Matthew Henry's commentary suggests that either: 1. James, Paul and the Elders tried to deceive the Jews or 2. that they were trying to be "all things to all men".
Acts 21:15-26
Now it has been questioned whether James and the elders did well to give Paul this advice, and whether he did well to take it.
1. Some have blamed this occasional conformity of Paul's, as indulging the Jews too much in their adherence to the ceremonial law, and a discouragement of those who stood fast in the liberty wherewith Christ had made them free. Was it not enough for James and the elders of Jerusalem to connive at this mistake in the Jewish converts themselves, but must they wheedle Paul to countenance them in it? Had it not been better, when they had told Paul how zealous the believing Jews were for the law, if they had desired, whom God had endued with such excellent gifts, to take pains with their people to convince them of their error, and to show them that they were made free from the law by their marriage to Christ? Rom 7:4. To urge him to encourage them in it by his example seems to have more in it of fleshly wisdom than of the grace of God. Surely Paul knew what he had to do better than they could teach him. But,
2. Others think the advice was prudent and good, and Paul's following it was justifiable enough, as the case stood. It was Paul's avowed principle, To the Jews became I as a Jew, that I might gain the Jews, 1 Cor 9:20. He had circumcised Timothy, to please the Jews; though he would not constantly observe the ceremonial law, yet, to gain an opportunity of doing good, and to show how far he could comply, he would occasionally go to the temple and join in the sacrifices there. Those that are weak in the faith are to be borne with, when those that undermine the faith must be opposed. It is true, this compliance of Paul's sped ill to him, for this very thing by which he hoped to pacify the Jews did but provoke them, and bring him into trouble; yet this is not a sufficient ground to go upon in condemning it: Paul might do well, and yet suffer for it. But perhaps the wise God overruled both their advice and Paul's compliance with it to serve a better purpose than was intended; for we have reason to think that when the believing Jews, who had endeavoured by their zeal for the law to recommend themselves to the good opinion of those who believed not, saw how barbarously they used Paul (who endeavoured to oblige them), they were by this more alienated from the ceremonial law than they could have been by the most argumentative or affecting discourses. They saw it was in vain to think of pleasing men that would be pleased with nothing else but the rooting out of Christianity. Integrity and uprightness will be more likely to preserve us than sneaking compliances. And when we consider what a great trouble it must needs be to James and the presbyters, in the reflection upon it, that they had by their advice brought Paul into trouble, it should be a warning to us not to press men to oblige us by doing any thing contrary to their own mind.(from Matthew Henry's Commentary on the Whole Bible: New Modern Edition, Electronic Database. Copyright (c) 1991 by Hendrickson Publishers, Inc.)