I am not a fan of low cost MTB's with suspension forks, and here's why. A low cost suspension fork, like those that are on those two bikes, are heavy, they use a spring inside the unit that is subject to failure, nor will it provide the same ride quality or respond as well on rough terrain as a good fork, they add cost to the bike which means the bike manufactures have to recover that cost to keep the price point low by putting on cheaper components and or frame. In addition the only place a suspension fork is useful is in downhill racing! So if you're not racing, which you wouldn't be if you're looking at a budget bike, there is no need to get a bike with a highly problematic suspension fork. And a good suspension fork by itself without a bike attached starts at $600, like the Manitou Mattoc Pro, which is the best deal for the money, but that gives you an idea of how much a decent starting suspension fork cost.
I use to ride mountain trails in Southern California and never had a bit of suspension, if all you'll be doing is light trails, and maybe some gravel then get a gravel bike or a cross bike. If you want a bike with some sort of suspension then look at a fat tire bike, the tires are large with low air pressure, about 20 psi, the low tire pressure with the large tires make the bike float over rough surfaces.
If you are still dead set on one of those two bikes than I would go with whatever bike you like because they both are basically identical twins of each other.