Drugs given exactly as prescribed

Why is it imperative that all drugs be given exactly as prescribed? Why some tablets/capsules should not be split or opened?