I believe the answer is C. Jack killed the giant because he sold the cow for magic beans.
Jack chose to sell the beans and the giant just lived on the beanstalk. I think he killed the giant because it was disturbing the village or something like that.