Treasurys are backed by the federal government and generally come into favor when concerns about risks to the financial system and the broader economy cause investors to back away from risker assets like stocks .