Investment decision vs Finacing decision

Why should the investment decision be separate from the financing decision? What error would businesses make if they did not separate these type of decisions? Why is it sometimes difficult to separate these decision?