Two scientists in Oxford lost their jobs as part of federal layoffs, blindsiding them and raising concerns about the future of local environmental projects.