Welcome!
But, no, your lens doesn't appear faulty. It is "focus breathing", as noted in other responses. The Tamron essentially "changes focal length" when focused closer. Apparently quite a lot.
A clue to this is in the lens specs... The best the Tamron can do is .26X magnification, while the Canon lens can do .31X.
This doesn't necessarily indicate good or bad quality. For example, the Canon 100mm macro lenses are very high quality and they are IF (internal focusing) lenses that do something similar. When focused to their closest 1:1 magnification, their "true" focal length becomes something closer to 70mm, instead of 100mm. Not that it matters in use. You wouldn't notice it unless you put it beside another lens.
But, frankly I'm not sure I'd call the Tamron 18-270mm an "upgrade" over the Canon EF-S 55-250mm, which is a pretty decent lens in its own right. For one thing, as you've discovered, the EF-S lens gives higher magnification at it's closest focusing distance.
"All in one" 15X (and more) lenses like the Tamron typically have to compromise in other ways. Sure, they're convenient because you can do all your shooting without ever changing a lens... But, hey, that's one of the main points of a DSLR, that you can change lenses to adapt the camera for different purposes.
In general, the "best" zooms optically are those that are 2X, 3X to 5X, 6X or slightly more. You can see this by looking at the premium and most highly rated zooms: 10-22mm, 16-35mm, 17-55mm, 24-70mm, 70-200mm, 100-400mm, 200-400mm. 15-85mm, 18-135mm and 70-300mm are about the upper limit, IMO.
mikeroetex wrote:
....
Looks to me like you were using an FX type lens on a Crop sensor previously and the Tamron is a DX lens, designed for Crop sensor. Take another shot with Canon lens backed off to about 167mm and see if field of view doesn't match up better....
I reserve the right to be incorrect and have my math backwards!
P.S. Not to worry.... Canon EF-S and Tamron Di II lenses are both designed specifically for crop sensor cameras such as your 70D (i.e., "DX" in Nikon-speak). Not that it matters... since your camera can fully use both crop-only and full frame ("FX" in Nikon-speak) lenses without concern. It also is completely irrelevant because 270mm is 270mm, regardless whether the lens is designed for and attached to a crop camera or designed for and attached to a full frame camera.