You are assuming that was his first instinct. The news report simply isn't saying, isn't providing any information or details regarding what happened other than to paint the store and officer as aggressively insane.
There is surveillance video from the AT&T store showing the attack, and both the Dallas Police Association and Dallas Fraternal Order of Police want to see it -- but DPD has not released it.
I guess we will find out soon enough.