Very good question. You engine shouldn’t do that, and its definitely an indication something is amiss. If you are unsure, try the same thing on another Accord of similar vintage. If the same thing doesn’t occur on that one, then you know you have a problem.
When you step on the gas pedal quickly that will lean out the mixture, and the computer is supposed to see that happen by monitoring the throttle position and make the necessary fuel injection compensations. There’s a couple of other gadgets involved too, like the O2 sensor (if this happens whether the engine is cold or warm), and the MAP/MAF, as well as the idle air control function, however that done on your vehicle.
If all of those devices test ok, probably what I’d do is a fuel trim measurement to see if the engine is already running lean on the lean side for some reason. If so, stepping quickly on the gas pedal might put it it into the region where it can’t compensate enough. At this point it doesn’t sound like the problem is an emergency, but suggest to keep an eye on it and take it to the shop right away if it gets noticeably worse. Otherwise next time you are in for routine maintenance, tell the shop about this. Best of luck.
Edit: If all else fails, ask for a fuel pressure test too. The fuel pressure could be dropping when this occurs. Faulty fuel pump or fuel pressure regulator, etc.