Each answer is quoted as it is from the commentary of the Quran, with the passage it comes from.
Here everyone is being tested to find out who is good and who is bad.
In the present world, the opportunity to live and to settle is available to man for the sole reason that he has to be put to the test.
So, to make the test valid, the opportunity is given to man here till the time of his death to say whatever he likes and to do whatever he likes.
Had he been serious, he would have immediately understood that the liberty of action pertains to the creation plan of God according to which man is being tested in this world.
In the present life, man has been given freedom in order to create the right conditions for putting him to the test.
The freedom man enjoys in this world is given to him due to the conditions of trial.
A rebel is given scope for his rebellious activities on account of his being on trial here, and not because it is his birthright.
(b) Man has been created free in this world and then he has been shown two paths leading respectively towards a life of gratitude and a life of ingratitude.