you have freedom after you receive tenure, but virtually no freedom before that.
during your phd and postdoc, and certainly while you're tenure-track, you want to be pursuing projects that will nearly guarantee you publications at top-tier conferences / journals. so you don't want to be too risky, lest you go a few years without any good publications.