What explains why some issues make it onto the government’s…

What explains why some issues make it onto the government’s policy agenda and some do not? Why do some issues receive media attention and others do not? Are most issues getting on the agenda because they are “pet” projects of legislators or because of public interest?