Certainly, presidents have some responsibility for things that the military does during their tenure, but people talk about these events, like he was told they were striking a DWB facility. I suspect he was told told they had located their target, and he approved without knowledge of the location and potential blowback.
His Whitehouse always struck me as more savvy than that, which led me to believe some of these were the result of omissions during communication from overseas.
That said, I totally believe they would bomb a wedding if they felt a high enough priority target was there (even if they were wrong). I felt the military was given ALOT of freedom to make decisions on their own while Obama was in office.