The Obama Administration was spying on the Trump campaign. Barr is saying that if this was a legitimate security concern, then that's one thing. If it's for political reasons, then that should be further investigated and the people responsible for it brought to justice.
Given that Mueller found no evidence of Trump being a Russian spy as some really, really stupid people here believe (... Androidpk...) then the why and how of such an investigation should be investigated.