Only the filmmaker could say if they wanted to do this, of course. But even if the only goal was to make money, from what you say the creators of the film still were guilty of attacking the truth of the Gospel and are accountable for their actions.
Such attacks aren't new; even during Jesus' lifetime some attacked Him as a fraud and refused to believe in Him. His enemies claimed that His power to perform miracles didn't come from God but from Satan: "It is by the prince of demons that he drives out demons" (Matthew 9:34). Even people in His own hometown rejected Jesus and tried to kill Him because of His message of God's love for people of every nation (see Luke 4:16-30). Finally, His enemies crucified Him -- only to discover that death couldn't hold Him.
Why do some people reject Jesus, in spite of the evidence? One reason is because they want to run their own lives. They know that if the Gospel is true, they should submit themselves to Christ -- and they don't want to do that. Like the people of Jeremiah's day, they declare that "We will continue with our own plans; each of us will follow the stubbornness of his evil heart" (Jeremiah 18:12).
Satan's goal is to turn us against God and His will for our lives, and he'll use every means he can to do this. Don't be deceived, however, but make Christ the center of your life and build your life on His truth.