The CIA has been tracing the relocation of al-Qaeda militants to Yemen and Somalia , lawless states with weak central governments , from Pakistani tribal areas where they are coming under growing pressure from US strikes and Pakistani military action .