The federal agency tasked with managing oil and gas development on Wednesday acknowledged it needed to do more to improve oversight of drilling, pointing to a lack of funding as reasons it failed to inspect oil and gas wells it considers potentially high risks for water contamination.