HTTP/1.1 can switch to another protocol on the same connection with the Upgrade header. The capture shows a WebSocket upgrade with Sec-WebSocket-Key and Accept headers and an h2c upgrade attempt carrying HTTP2-Settings, each answered with 101 Switching Protocols or ignored. After the switch the framing changes completely, which is visible in the following packets and in how Wireshark changes dissector.
HTTP Upgrade negotiation to WebSocket and HTTP/2 (h2c): the Upgrade and Connection headers and the 101 Switching Protocols reply.
HTTP Upgrade Requests: WebSocket and HTTP/2
Two HTTP upgrade attempts: WebSocket upgrade with Sec-WebSocket-Key and Version 13, and HTTP/2 cleartext upgrade (h2c) via Connection: Upgrade header. Shows protocol upgrade negotiation in HTTP/1.1 and server rejection behavior.