### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

with python boto3 client

- send a message to fifo queue with MessageGroupId='1'
- receive the message
- delete the message
- send another message to the queue with MessageGroupId='1'
- try to receive the message, get none
- check message availability with get_queue_attributes, get `{'ApproximateNumberOfMessages': '1', 'ApproximateNumberOfMessagesNotVisible': '0', 'ApproximateNumberOfMessagesDelayed': '0', ...`

### Expected Behavior

expecting to receive message from the queue

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

docker-compose up


### Environment

```markdown
- OS:MacOS Sonoma 14.2.1
- LocalStack: latest
```


### Anything else?

I tried to run with Rosetta, no result
snapshot.match("add-permission-response", add_permission_response)
        get_queue_policy_attribute = aws_sqs_client.get_queue_attributes(
            Url=sqs_queue, AttributeNames=["Policy"]
        )
        # th
        # di
        get_policy = json.loads(get_queue_policy_attribute["Attributes"]["Policy"])
        get_policy["Statement"][0]["Principal"]["AWS"].sort(
            key=lambda x: 0 if "668614515564" in x else 1
        )
        get_queue_policy_attribute["Attributes"]["Policy"] = json.dumps(get_policy)
        snapshot.match("get-queue-policy-attribute", get_queue_policy_attribute)
        remove_permission_response = aws_sqs_client.remove_permission(
            Url=sqs_queue,
            Label="crossaccountpermission",
        )
        snapshot.match("remove-permission-response", remove_permission_response)
        get_queue_policy_attribute = aws_sqs_client.get_queue_attributes(
            Url=sqs_queue, AttributeNames=["Policy"]
        )
        snapshot.match("get-queue-policy-attribute-after-removal", get_queue_policy_attribute)
        # te
        aws_sqs_client.add_permission(
            Url=sqs_queue,
            AWSAccountIds=[account_id],
            Actions=["ReceiveMessage"],
            Label="crossaccountpermission",
        )
        get_queue_policy_attribute = aws_sqs_client.get_queue_attributes(
            Url=sqs_queue, AttributeNames=["Policy"]