There are two reasons paint will pull off with tape: the paint under the tape did not fully dry, or the paint wasn't well bonded to the wall. Fresh paint under seven days old is often not dry all the way through. Lower quality paints are more likely to pull away. Another common mistake is not priming a surface, particularly if you patch with spackle or mud a corner. These must be primed and paint + primer does not count.